package com.example.apistroage;

import android.graphics.Color;
import android.text.TextUtils;

/**
 * Author by Administrator,
 * Date on 2022年7月28日.
 */
public class SDData {

    public String path ="";
    public String total="";
    public String available="";
    public String mounted="";

    public int amountedColor;
    public String freeBlock="";

    public void setAmount(String storageState) {
        mounted = storageState;
        if (TextUtils.equals("mounted", mounted)) {
            amountedColor = Color.parseColor("#FF03DAC5");
        } else {
            amountedColor = Color.parseColor("#999888");
        }
    }
}
